package com.kingdee.eas.lms.base;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class KeepMaterialFactory
{
    private KeepMaterialFactory()
    {
    }
    public static com.kingdee.eas.lms.base.IKeepMaterial getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.lms.base.IKeepMaterial)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("2B150295") ,com.kingdee.eas.lms.base.IKeepMaterial.class);
    }
    
    public static com.kingdee.eas.lms.base.IKeepMaterial getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.IKeepMaterial)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("2B150295") ,com.kingdee.eas.lms.base.IKeepMaterial.class, objectCtx);
    }
    public static com.kingdee.eas.lms.base.IKeepMaterial getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.lms.base.IKeepMaterial)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("2B150295"));
    }
    public static com.kingdee.eas.lms.base.IKeepMaterial getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.lms.base.IKeepMaterial)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("2B150295"));
    }
}